package com.zdb.demo.design.pattern.behavioral.chainofresponsibility.demo1;

public abstract class Handler {

    protected Handler nextHandler;

    public abstract String handleFeeRequest(String user, double fee);

    public void setNextHandler(
            Handler nextHandler) {
        this.nextHandler = nextHandler;
    }
}
